import { createStore, applyMiddleware } from "redux";
import rootReduer from "../reducers/index";
import { composeWithDevTools } from "redux-devtools-extension";
import thunk from "redux-thunk";
let store = createStore(rootReduer, composeWithDevTools(applyMiddleware(thunk)));

export default store;
